﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SuperListEx
{
    internal class RowIdentificationList<T> : List<T>
    {
        public bool HasBeenCleared
        {
            get;
            set;
        }

        public RowIdentificationList()
        {
            HasBeenCleared = false;
        }

        public new void Clear()
        {
            base.Clear();
            HasBeenCleared = true;
        }

        public new void Add(T item)
        {
            HasBeenCleared = false;
            base.Add(item);
        }
    }
}
